/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model;


/**
 *
 * @author Nargisse
 */
public class Document {
    private String nom;
    private int docId;
    
    public Document(int docId, String name){
        this.docId = docId;
        this.nom = name;
    }
    
    public String getName(){
        return this.nom;
    }
    
    public String getValue() {
        return "('"+docId+"','"+nom+"')";
    }
    
}
